// index.js
import router from '@system.router';

export default {
    data:{
        title:"欢迎",
        userAcc:'1',
        userPass:'1'
    },
    launch() {
        router.push ({
            uri:'pages/index/index', // 指定要跳转的页面
        })
    },
    onCreate(){
        console.log(this.userAcc)
        console.log(this.userPass)
        console.log("onCreate")
    },
    onInit(){
        console.log("onInit")
        console.log(this.userAcc)
        console.log(this.userPass)
    }
}